package com.qf.flash.mvp.contract;

import com.qf.dblib.dao.entity.UserInfo;
import com.qf.flash.http.param.RegisterParam;
import com.qf.flashlib.base.IPresenter;
import com.qf.flashlib.base.IView;

/**
 * 登录注册
 * 2020/3/6 9:35
 */
public class LoginRegisterContract
{
    public interface View extends IView
    {
        void loginSuccess(UserInfo userInfo);
        void registerSuccess();
    }

    public interface Presenter extends IPresenter<View>
    {

        void login(String tel, String password);

        void register(RegisterParam registerParam);
    }
}
